﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using blackhouse.BlackApart.Business.Opinions;

namespace blackhouse.BlackApart.Web.Navigation {
    public class DefaultUrlOpinionVisitor : UrlVisitor, IOpinionVisitor {

        public void Apply(IOpinion opinion) {
            this.Url = UrlUtils.LocalizeUrl("/pages/opiniondetails.aspx?opinion=" + opinion.Id);
        }

    }
}